package com.sxrong.carloan.dto;

import org.xutils.http.annotation.HttpResponse;

/**
 * Created by LakNeumann on 2018/3/22.
 */
public class LoginBean {

    /**
     * code : 1  // 0 ->fail , 1 ->success
     * msg : 登录成功
     * data : {"partner":1,"id":1,"password":"123123","lastLoginIP":"192.168.0.47","lastLoginTime":"2018-03-22 10:05:31","loginName":"t1"}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }


    public static class DataBean {
        /**
         * partner : 1
         * id : 1
         * password : 123123
         * lastLoginIP : 192.168.0.47
         * lastLoginTime : 2018-03-22 10:05:31
         * loginName : t1
         */

        private int partner;
        private int id;
        private String password;
        private String lastLoginIP;
        private String lastLoginTime;
        private String loginName;

        public int getPartner() {
            return partner;
        }

        public void setPartner(int partner) {
            this.partner = partner;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getPassword() {
            return password;
        }

        public void setPassword(String password) {
            this.password = password;
        }

        public String getLastLoginIP() {
            return lastLoginIP;
        }

        public void setLastLoginIP(String lastLoginIP) {
            this.lastLoginIP = lastLoginIP;
        }

        public String getLastLoginTime() {
            return lastLoginTime;
        }

        public void setLastLoginTime(String lastLoginTime) {
            this.lastLoginTime = lastLoginTime;
        }

        public String getLoginName() {
            return loginName;
        }

        public void setLoginName(String loginName) {
            this.loginName = loginName;
        }
    }
}
